package tw.miku.model.gold.search;

import tw.miku.model.gold.card.RoadCard;

public class Node
{
	public int x;
	public int y;
	public int f;
	public int g;
	public int h;
	public boolean walkable;
	public Node parent;
	public int costMultiplier = 1;

	public RoadCard card;

	public Node(int x, int y, RoadCard card)
	{
		this.x = x;
		this.y = y;
		this.card = card;
	}

	public int getPassPostion()
	{
		return this.card.passPosition;
	}

}
